package com.youlai.boot.factory.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 月度结算单视图对象
 *
 * @author youlaitech
 * @since 2025-07-13 00:16
 */
@Getter
@Setter
@Schema( description = "月度结算单视图对象")
public class MonthlySettlementsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;
    @Schema(description = "结算单编号(如JS202307001)")
    private String settlementNumber;
    @Schema(description = "客户ID")
    private Integer customerId;
    @Schema(description = "结算单名称")
    private String settlementName;
    @Schema(description = "结算年月(YYYY-MM)")
    private String yearMonth;
    @Schema(description = "结算开始日期")
    private LocalDate startDate;
    @Schema(description = "结算结束日期")
    private LocalDate endDate;
    @Schema(description = "总数量")
    private Integer totalQuantity;
    @Schema(description = "总金额")
    private BigDecimal totalAmount;
    @Schema(description = "状态:0-草稿 1-已确认 2-已付款")
    private Integer status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "创建人ID")
    private Long createBy;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "修改人ID")
    private Long updateBy;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
